import React from 'react';
import '../Cate/Search.scss';
import logo from '../Home/imgs/logo.png'

// 使用ES6中的类
class Search extends React.Component {
    // props,父子间进行传值
    constructor(props) {
        super(props);
        this.state = {
            logo: logo,
        }
    }
    render() {
        return (
            <div className='Input'>
                <div className="title">分类</div>
                <input placeholder='搜索店铺内商品'></input>
                <span>客服</span>
            </div>
        );
    }
}

export default Search;